﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SelUser.ascx.cs" Inherits="CMS_Control_SelUser" %>
<table cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td valign="top">
            <%--<asp:TextBox ID="txtSelUser" runat="server" ReadOnly="True"></asp:TextBox>--%>
            <span id="Spname">
                <asp:TextBox ID="txtJob" runat="server" Width="120px" ></asp:TextBox></span> <span id="SpUid">
                    <asp:HiddenField ID="hidJid" runat="server" />
                </span>
        </td>
        <td>
            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Image/refval/RefVal.gif"/>
        </td>
    </tr>
</table>

<script>
    function GetSonUser(id, name) {

        document.getElementById("Spname").childNodes[0].value = name;
        document.getElementById("SpUid").childNodes[0].value = id;

        //alert(id + ";" + name);
    }
</script>
